<?php
$isHomepage	= $this->countModules('services');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>Steelaris</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<link href="<?php echo $this->baseurl ?>/templates/steelaris/css/style.css" rel="stylesheet" type="text/css" media="screen" />
	<link href="<?php echo $this->baseurl ?>/templates/steelaris/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/steelaris/css/layout.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/steelaris/css/style1.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/steelaris/css/imageflow.packed.css" />
	<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/steelaris/js/jquery.js"></script>
	<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/steelaris/js/imageflow.packed.js"></script>
	<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/steelaris/js/jquery.easing.js"></script>
	<script language="javascript" type="text/javascript" src="<?php echo $this->baseurl ?>/templates/steelaris/js/script.js"></script>
	<script type="text/javascript">
	 $(document).ready( function(){	
			// buttons for next and previous item						 
			var buttons = { previous:$('#jslidernews1 .button-previous') ,
							next:$('#jslidernews1 .button-next') };			
			 $('#jslidernews1').lofJSidernews( { interval : 4000,
												direction		: 'opacitys',	
												easing			: 'easeInOutExpo',
												duration		: 1200,
												auto		 	: true,
												maxItemDisplay  : 4,
												navPosition     : 'horizontal', // horizontal
												navigatorHeight : 40,
												navigatorWidth  : 161,
												mainWidth		: 644,
												buttons			: buttons } );	
		});
	</script>
	
</head>
<body>
<div id="wrapper">
	<div id="header-stretch">
		<div id="header" class="container">
				<h1><a href="#">Steelaris</a></h1>
				<div id="topbox">
					<ul class="topmenu">
						<li><a href="index.php">Home</a></li>
						<li><a href="#">Sitemap</a></li>
					</ul>
					<jdoc:include type="modules" name="search" />

					<div id="shadow">
						<img src="<?php echo $this->baseurl ?>/templates/steelaris/images/shadow.jpg" alt="" />
					</div>
				</div><!--end topbox-->
		</div><!--header-->
	</div><!--end header stretch-->
	
	<div id="navigation-strech">
	
		<jdoc:include type="modules" name="mainmenu" />
		
		<jdoc:include type="modules" name="slider" />

	</div><!--navigation-strech-->
	

	<div id="main" class="container">
	

		<jdoc:include type="modules" name="photo" />
		
		<jdoc:include type="modules" name="latestnews" />

	</div><!--end main-->
<?php if($isHomepage) { ?>
	<div id="main-content" class="container">
		
			<div id="content">
				
				<jdoc:include type="modules" name="services" />

				<jdoc:include type="modules" name="career" />	
				
			</div><!--end content-->
			
				<jdoc:include type="modules" name="homenews" />	

	</div><!--end main content-->
		<?php } else { ?>
	<div id="main-content" class="container" style="border-top:1px solid #00293a; margin-right:25px">
		
			<div id="right_sidebar">
			
				<jdoc:include type="modules" name="articecategory" />	
					
			</div><!--end right_sidebar-->
			
			<div id="data">
			
				<div class="breadcrumbs"><jdoc:include type="modules" name="breadcrumbs" /></div>
				
				<div class="details">
				
					<jdoc:include type="component" />
										
				</div><!--end details-->
			</div><!--end data-->
			
	</div>
		<?php } ?>
	<div id="footer" class="container">

		<jdoc:include type="modules" name="bottommenu" />
		
		<jdoc:include type="modules" name="footer" />

	</div><!--end footer-->
	
	</div><!--end wrapper-->
</body>
</html>